login_obj = {
    login_init:function(){
        tools.back_event();
        tools.validate($('#sign_in_form'),function(data){
            window.location.href = '/member/account/';
        }, function(data){
            tools.alert(data.msg);
        });
        //切换
        $('.tab_frame .title').click(function(){
            var type=$(this).attr('type');
            $('.tab_frame .title').removeClass('active_1');
            $('.tab_frame .title .word').removeClass('active_0');
            $(this).addClass('active_1');
            $(this).find('.word').addClass('active_0');
            $('input[name=type]').val(type);
        });
    },
    create_init:function(){
        tools.back_event();
        tools.validate($('#sign_in_form'),function(data){
            window.location.href = '/member/account/';
        }, function(data){
            tools.alert(data.msg);
        });
    }
}